#define _CRT_SECURE_NO_WARNINGS 1
double average(int a[], int n)
{
	double sum = 0;
	for (int i = 0; i < n; i++)
		sum = sum += a[i];
	return  sum / n;
}